home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3073 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: solon.com!not-for-mail
  2. From: axl@zedat.fu-berlin.de (Axel Thimm)
  3. Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.c.moderated,comp.lang.c++.moderated
  4. Subject: Re: Link FORTRAN and C Programs?
  5. Date: 21 Jan 1996 20:54:46 -0600
  6. Organization: FU Berlin
  7. Sender: clc@solutions.solon.com
  8. Approved: clc@solutions.solon.com
  9. Message-ID: <4duu9m$54a@solutions.solon.com>
  10. References: <4dp6lq$6o5@catapult.gatech.edu> <822099397snz@genesis.demon.co.uk>
  11. Reply-To: axl@zedat.fu-berlin.de
  12. NNTP-Posting-Host: solutions.solon.com
  13. X-Access: 16 17 19
  14. X-Newsreader: Forte Free Agent 1.0.82
  15.  
  16. Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
  17. >In article <4dp6lq$6o5@catapult.gatech.edu>
  18. >           af39@acmex.gatech.edu "Atif Faheem" writes:
  19. >>I am trying to link fortran object files created with the "f77" compiler
  20. >>on Sun with output files compiled using the "gcc" C compiler on the SUN.
  21. >This is highly system specific and the C language itself provides no
  22. >help for this. Try a Sun related newsgroup. The f77 documentation should
  23. >tell you how to do this.
  24.  
  25. Linking Fortran Programs with C/C++ can be highly system specific, but I
  26. think there are effords to overcome this. I believe there should be a
  27. fortran.h Header File for every system to call Fortran form C/C++ code.
  28. Calling Fortran from C/C++ can be very important, when using Libraries
  29. written in Fortran, like the NAG-Lib (there is also a C-version) and
  30. MINUIT.
  31. Maybe someone has experience with calling Fortran from C/C++ in a
  32. system-independend way and will post a follow up.
  33.  
  34. ===
  35. Axel Thimm <axl@zedat.fu-berlin.de>
  36. Freie Universitaet Berlin
  37. ===
  38.